package Case1.InterfacesForCase1;


import Case1.MainForCase1.Order;
import Case1.MainForCase1.OrderItem;

import java.util.List;

public interface OrderMapper {
    int insertOrder(Order record);
    int insertOrderItem(OrderItem record);
    int batchDeleteOrderItems(List<Integer> list);
    int batchInsert(List<OrderItem> list);


    Order selectOrderById2(int id);
    List<OrderItem> selectOrderItemsByOrderId();

    OrderItem getOrderItemDetail(Integer id);
}
